package com.testing.sunnycommon.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.testing.sunnycommon.model.SunnyVariable;

/**
 * @Classname SunnyVariableService
 * @Description 类型说明
 * @Date 2023/5/24 21:20
 * @Created by 特斯汀Roy
 */
public interface SunnyVariableService extends IService<SunnyVariable> {
    boolean saveOrUpdateVariable(SunnyVariable sunnyVariable);

    //传入一个原始字符串，替换其中的 {{变量名}} 为对应的变量值
    String replaceVariables(Long projectId,String origin);


}
